package builder;

public class ProductA extends Product {

    private String name;
    private int weight;
    private int time;

    public void setName(String name) {
        this.name = name;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    public void setTime(int time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "ProductA{" +
                "name='" + name + '\'' +
                ", weight=" + weight +
                "kg, time=" + time +
                '}';
    }

}
